<?php 
if(!isset($_SESSION['admin']))
{
	$_SESSION['admin']= false;
}
	
if($_SESSION['admin']==true){ ?>
	
<ul>	
	<li style="border-color: #fff; border: solid;"> <a class="admin">Bonjour <?php echo $_SESSION['login'] ?>  </a>
	<a href="<?php echo $this->url(array('controller'=>'Deconnexion',
		'action'=>'deco'), 'default', true);?>">
		DECONNEXION
		</a></li>
</ul>
	
<ul>
    <li><a href="<?php echo $this->url(array('controller'=>'administration',
		'action'=>'supprimervip'), 'default', true);?>">
		VIPS
		</a></li>
    <li><a href="<?php echo $this->url(array('controller'=>'administration',
		'action'=>'supprimerphoto'), 'default', true);?>">
		PHOTOS
		</a></li>
	
</ul>	
	
<?php } else { ?>
<ul>
    <li><a href="<?php echo $this->url(array('controller'=>'index',
		'action'=>'index'), 'default', true);?>">
		ACCUEIL
		</a></li>
    <li><a href="<?php echo $this->url(array('controller'=>'repertoire',
		'action'=>'listerrepertoire'), 'default', true);?>">
		REPERTOIRE DES STARS
		</a></li>
    <li><a href="<?php echo $this->url(array('controller'=>'album',
		'action'=>'listeralbum'), 'default', true);?>">
		ALBUM PHOTO
		</a></li>
    <li><a href="<?php echo $this->url(array('controller'=>'article',
		'action'=>'listerarticle'), 'default', true);?>">
		ARTICLES
		</a></li>
	<li><a href="<?php echo $this->url(array('controller'=>'administration',
		'action'=>'autentification'), 'default', true);?>">
		ADMINISTRATION
		</a></li>
</ul>

<?php } ?>